package com.rocksdata.mc.entity;

import java.io.Serializable;

public class MyOAData implements Serializable {
    private String InstanceID;
    private String WorkFlowID;
    private String WorkName;
    private String ApplyUser;
    private String ApplyDateTime;
    private String TaskPage;
    private String Status;
    private String Title;
    private String PrevNodeName;
    private Integer Flag;
    private String TriggerDateTime;
    private String Stepname;
    private String AccomplishDateTime;
    private String UpdateTime;

    public String getInstanceID() {
        return InstanceID;
    }

    public void setInstanceID(String instanceID) {
        InstanceID = instanceID;
    }

    public String getWorkFlowID() {
        return WorkFlowID;
    }

    public void setWorkFlowID(String workFlowID) {
        WorkFlowID = workFlowID;
    }

    public String getWorkName() {
        return WorkName;
    }

    public void setWorkName(String workName) {
        WorkName = workName;
    }

    public String getApplyUser() {
        return ApplyUser;
    }

    public void setApplyUser(String applyUser) {
        ApplyUser = applyUser;
    }

    public String getApplyDateTime() {
        return ApplyDateTime;
    }

    public void setApplyDateTime(String applyDateTime) {
        ApplyDateTime = applyDateTime;
    }

    public String getTaskPage() {
        return TaskPage;
    }

    public void setTaskPage(String taskPage) {
        TaskPage = taskPage;
    }

    public String getStatus() {
        return Status;
    }

    public void setStatus(String status) {
        Status = status;
    }

    public String getTitle() {
        return Title;
    }

    public void setTitle(String title) {
        Title = title;
    }

    public String getPrevNodeName() {
        return PrevNodeName;
    }

    public void setPrevNodeName(String prevNodeName) {
        PrevNodeName = prevNodeName;
    }

    public Integer getFlag() {
        return Flag;
    }

    public void setFlag(Integer flag) {
        Flag = flag;
    }

    public String getTriggerDateTime() {
        return TriggerDateTime;
    }

    public void setTriggerDateTime(String triggerDateTime) {
        TriggerDateTime = triggerDateTime;
    }

    public String getStepname() {
        return Stepname;
    }

    public void setStepname(String stepname) {
        Stepname = stepname;
    }

    public String getAccomplishDateTime() {
        return AccomplishDateTime;
    }

    public void setAccomplishDateTime(String accomplishDateTime) {
        AccomplishDateTime = accomplishDateTime;
    }

    public String getUpdateTime() {
        return UpdateTime;
    }

    public void setUpdateTime(String updateTime) {
        UpdateTime = updateTime;
    }

    @Override
    public boolean equals(Object o) {
        try {
            MyOAData info = (MyOAData) o;
            return info.getWorkFlowID().equals(WorkFlowID);
        }catch (Exception e) {

        }
        return false;
    }
}
